package com.platform.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;


/**
 * @author zhanghao
 */
@Data
@NoArgsConstructor
public class OrderVo{

    //主键
    private Integer id;
    //订单号
    private String order_sn;
    private String image;
    //会员Id
    private Integer user_id;
    //商铺Id
    private Integer shop_id;
    private String shop_name;
    private String shop_logo;
    //收货地址Id
    private Integer address_id;
    //支付流水Id
    private String pay_id;
    //支付状态：0:待支付 1:付款中 2:已付款
    private Integer pay_status;
    //订单状态：0:已完成 1:已取消 2:待支付
    private Integer order_status;
    //提现状态：0:未提现 1:已提现
    private Integer tranfer_status;
    //订单总价
    private BigDecimal order_price;
    //商品总价
    private BigDecimal goods_price;
    //实际支付金额
    private BigDecimal actual_price;
    //备注
    private String note;
    //支付时间
    private Date pay_time;
    //创建时间
    private Date create_time;

    private List<OrderGoodsVo> goodsList;

    //收货人姓名
    private String userName;
    //手机
    private String telNumber;
    //寝室门号
    private String room;
    //学校id
    private Integer schoolId;
    //学校名称
    private String schoolName;
    //寝室楼Id
    private Integer buildingId;
    //寝室楼名称
    private String buildingName;
    //详细收货地址信息
    private String detailInfo;
    //订单类型：0：用户购买  1：商户进货
    private Integer type;

}
